#include<bits/stdc++.h>
using namespace std;
int a[1000005];
int b[1000005];
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    int n;
    cin>>n;
    int maxx=-1;
    for(int i=1;i<=n;i++){
        cin>>a[i];
        maxx=max(a[i],maxx);
        b[a[i]]++;
    }
    int maxx1=-1;
    for(int i=1;i<=maxx;i++){
        maxx1=max(maxx1,b[i]);
    }
    cout<<maxx1;
    fclose(stdin);
    fclose(stdout);
    return 0;
}
